package com.ruoyi.system.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.VMxWareInMapper;
import com.ruoyi.system.domain.VMxWareIn;

/**
 * VIEWService业务层处理
 *
 * @author yushuaixm
 * @date 2024-08-21
 */
@Service
public class VMxWareInService {
    @Autowired
    private VMxWareInMapper vMxWareInMapper;

    /**
     * 查询VIEW
     *
     * @param id VIEW主键
     * @return VIEW
     */

    public VMxWareIn selectVMxWareInById(Long id) {
        return vMxWareInMapper.selectVMxWareInById(id);
    }

    /**
     * 查询VIEW列表
     *
     * @param vMxWareIn VIEW
     * @return VIEW
     */

    public List<VMxWareIn> selectVMxWareInList(VMxWareIn vMxWareIn) {
        return vMxWareInMapper.selectVMxWareInList(vMxWareIn);
    }

    /**
     * 新增VIEW
     *
     * @param vMxWareIn VIEW
     * @return 结果
     */

    public int insertVMxWareIn(VMxWareIn vMxWareIn) {
        return vMxWareInMapper.insertVMxWareIn(vMxWareIn);
    }

    /**
     * 修改VIEW
     *
     * @param vMxWareIn VIEW
     * @return 结果
     */

    public int updateVMxWareIn(VMxWareIn vMxWareIn) {
        return vMxWareInMapper.updateVMxWareIn(vMxWareIn);
    }

    /**
     * 批量删除VIEW
     *
     * @param ids 需要删除的VIEW主键
     * @return 结果
     */

    public int deleteVMxWareInByIds(Long[] ids) {
        return vMxWareInMapper.deleteVMxWareInByIds(ids);
    }

    /**
     * 删除VIEW信息
     *
     * @param id VIEW主键
     * @return 结果
     */

    public int deleteVMxWareInById(Long id) {
        return vMxWareInMapper.deleteVMxWareInById(id);
    }
}
